package lvhui.entity;

import java.util.Date;

//对应order_detail表
public class LvOrder_Detail {
	private Integer order_detail_id;//订单详情表ID
	private Integer order_id;//订单表ID
	private Integer product_id;//订单商品ID
	private String product_name;//商品名称
	private Integer product_cnt;//购买商品数量
	private Float  product_price;//购买商品单价
	private Float weight;//商品重量
	private Date modified_time;//最后修改时间
	
	
	public Integer getOrder_detail_id() {
		return order_detail_id;
	}
	public void setOrder_detail_id(Integer order_detail_id) {
		this.order_detail_id = order_detail_id;
	}
	public Integer getOrder_id() {
		return order_id;
	}
	public void setOrder_id(Integer order_id) {
		this.order_id = order_id;
	}
	public Integer getProduct_id() {
		return product_id;
	}
	public void setProduct_id(Integer product_id) {
		this.product_id = product_id;
	}
	public String getProduct_name() {
		return product_name;
	}
	public void setProduct_name(String product_name) {
		this.product_name = product_name;
	}
	public Integer getProduct_cnt() {
		return product_cnt;
	}
	public void setProduct_cnt(Integer product_cnt) {
		this.product_cnt = product_cnt;
	}
	public Float getProduct_price() {
		return product_price;
	}
	public void setProduct_price(Float product_price) {
		this.product_price = product_price;
	}
	public Float getWeight() {
		return weight;
	}
	public void setWeight(Float weight) {
		this.weight = weight;
	}
	public Date getModified_time() {
		return modified_time;
	}
	public void setModified_time(Date modified_time) {
		this.modified_time = modified_time;
	}
	public LvOrder_Detail() {
		super();
		// TODO Auto-generated constructor stub
	}
	public LvOrder_Detail(Integer order_id, Integer product_id, String product_name, Integer product_cnt,
			Float product_price, Float weight, Date modified_time) {
		super();
		this.order_id = order_id;
		this.product_id = product_id;
		this.product_name = product_name;
		this.product_cnt = product_cnt;
		this.product_price = product_price;
		this.weight = weight;
		this.modified_time = modified_time;
	}
	@Override
	public String toString() {
		return "LvOrder_Detail [order_detail_id=" + order_detail_id + ", order_id=" + order_id + ", product_id="
				+ product_id + ", product_name=" + product_name + ", product_cnt=" + product_cnt + ", product_price="
				+ product_price + ", weight=" + weight + ", modified_time=" + modified_time + "]";
	}
	
	
}
